/*
 * @Author: 三岁小仙仙 scitctocdtu@qq.com
 * @Date: 2024-10-01 20:33:29
 * @LastEditors: 三岁小仙仙 scitctocdtu@qq.com
 * @LastEditTime: 2024-10-06 23:29:25
 * @FilePath: \demo\src\store\pinia.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createPinia, Pinia } from "pinia"
import piniaPluginPersistedstate from "pinia-plugin-persistedstate"
const pinia: Pinia = createPinia()

//使用持久化插件
pinia.use(piniaPluginPersistedstate)

export default pinia
